package by.onlinernews_0_1;

import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.support.v4.widget.SimpleCursorAdapter;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class CommentsFragment extends ListFragment {
	@Override
	  public void onActivityCreated(Bundle savedInstanceState) {
	    super.onActivityCreated(savedInstanceState);
	    
		String[] from = {};
	    int[] to = { };
	    SimpleCursorAdapter adapter = new SimpleCursorAdapter(getActivity(), R.layout.comments_item_fragment, null, from, to, 0);
	    setListAdapter(adapter);
	    
	  }
	@Override
	  public View onCreateView(LayoutInflater inflater, ViewGroup container,   
	      Bundle savedInstanceState) {	
		  return inflater.inflate(R.layout.fragment_main, null);
	  }
	
	
}
